import { ApiProperty } from "@nestjs/swagger";

export class CreateBorrowDto {
    @ApiProperty()
    user_name: string;
    @ApiProperty()
    card_id: string;
    @ApiProperty()
    phone: string;
    @ApiProperty({ required: false, description:'借书时间' })
    borrow_date: Date;
    @ApiProperty({ required: false, description:'归还时间' })
    return_date: Date;
    @ApiProperty({required: false})
    status: number;
    @ApiProperty()
    book_id: number;
    @ApiProperty() 
    category_id: number;
}
